<?php $view->extend('Site1Bundle::layout') ?>
<table>
<?php foreach($result as $row => $field)
    echo sprintf('<tr><td>%s</td><td>%s</td></tr>', $row, $field);?> 

</table>